.class Lcom/estrongs/android/ui/dialog/o$g;
.super Landroid/widget/BaseExpandableListAdapter;
.source "ClearAppRemnantFoldersDialog.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/estrongs/android/ui/dialog/o;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = "g"
.end annotation


# instance fields
.field final synthetic a:Lcom/estrongs/android/ui/dialog/o;


# direct methods
.method constructor <init>(Lcom/estrongs/android/ui/dialog/o;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    invoke-direct {p0}, Landroid/widget/BaseExpandableListAdapter;-><init>()V

    return-void
.end method


# virtual methods
.method public getChild(II)Ljava/lang/Object;
    .locals 0

    const/4 p1, 0x0

    return-object p1
.end method

.method public getChildId(II)J
    .locals 0

    const-wide/16 p1, 0x0

    return-wide p1
.end method

.method public getChildView(IIZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 15

    move-object v0, p0

    move/from16 v1, p1

    move/from16 v2, p2

    const v3, 0x7f09052b

    if-nez p4, :cond_0

    .line 1
    iget-object v4, v0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-object v4, v4, Lcom/estrongs/android/ui/dialog/o;->a:Landroid/app/Activity;

    invoke-static {v4}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v4

    const v5, 0x7f0c00a0

    const/4 v6, 0x0

    invoke-virtual {v4, v5, v6}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v4

    .line 2
    new-instance v5, Lcom/estrongs/android/ui/dialog/o$h;

    invoke-direct {v5}, Lcom/estrongs/android/ui/dialog/o$h;-><init>()V

    const v6, 0x7f0908b8

    .line 3
    invoke-virtual {v4, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    iput-object v6, v5, Lcom/estrongs/android/ui/dialog/o$h;->a:Landroid/widget/TextView;

    const v6, 0x7f090b58

    .line 4
    invoke-virtual {v4, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/TextView;

    iput-object v6, v5, Lcom/estrongs/android/ui/dialog/o$h;->b:Landroid/widget/TextView;

    const v6, 0x7f090201

    .line 5
    invoke-virtual {v4, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/ImageView;

    iput-object v6, v5, Lcom/estrongs/android/ui/dialog/o$h;->c:Landroid/widget/ImageView;

    .line 6
    invoke-virtual {v4, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    iput-object v6, v5, Lcom/estrongs/android/ui/dialog/o$h;->d:Landroid/view/View;

    .line 7
    invoke-virtual {v4, v5}, Landroid/view/View;->setTag(Ljava/lang/Object;)V

    const v6, 0x7f09052a

    .line 8
    invoke-virtual {v4, v6}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v6

    check-cast v6, Landroid/widget/ImageView;

    .line 9
    invoke-static {}, Lcom/estrongs/android/ui/theme/b;->r()Lcom/estrongs/android/ui/theme/b;

    move-result-object v7

    invoke-virtual {v7}, Lcom/estrongs/android/ui/theme/b;->f()Landroid/graphics/drawable/Drawable;

    move-result-object v7

    invoke-virtual {v6, v7}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    .line 10
    new-instance v6, Landroid/widget/AbsListView$LayoutParams;

    const/4 v7, -0x1

    iget-object v8, v0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-object v8, v8, Lcom/estrongs/android/ui/dialog/o;->a:Landroid/app/Activity;

    const/high16 v9, 0x42380000    # 46.0f

    invoke-static {v8, v9}, Les/fy;->a(Landroid/content/Context;F)I

    move-result v8

    invoke-direct {v6, v7, v8}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {v4, v6}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 11
    iget-object v6, v5, Lcom/estrongs/android/ui/dialog/o$h;->c:Landroid/widget/ImageView;

    new-instance v7, Lcom/estrongs/android/ui/dialog/o$g$a;

    invoke-direct {v7, p0}, Lcom/estrongs/android/ui/dialog/o$g$a;-><init>(Lcom/estrongs/android/ui/dialog/o$g;)V

    invoke-virtual {v6, v7}, Landroid/widget/ImageView;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 12
    new-instance v6, Lcom/estrongs/android/ui/dialog/o$g$b;

    invoke-direct {v6, p0}, Lcom/estrongs/android/ui/dialog/o$g$b;-><init>(Lcom/estrongs/android/ui/dialog/o$g;)V

    invoke-virtual {v4, v6}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_0

    .line 13
    :cond_0
    invoke-virtual/range {p4 .. p4}, Landroid/view/View;->getTag()Ljava/lang/Object;

    move-result-object v4

    move-object v5, v4

    check-cast v5, Lcom/estrongs/android/ui/dialog/o$h;

    move-object/from16 v4, p4

    .line 14
    :goto_0
    iget-object v6, v0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-object v6, v6, Lcom/estrongs/android/ui/dialog/o;->j:Ljava/util/ArrayList;

    invoke-virtual {v6, v1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Lcom/estrongs/android/ui/dialog/o$f;

    .line 15
    iget-object v6, v6, Lcom/estrongs/android/ui/dialog/o$f;->c:Ljava/util/ArrayList;

    invoke-virtual {v6, v2}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Les/mg$r;

    .line 16
    iget-object v7, v0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-object v8, v6, Les/mg$r;->a:Ljava/lang/String;

    invoke-static {v7, v8}, Lcom/estrongs/android/ui/dialog/o;->a(Lcom/estrongs/android/ui/dialog/o;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v7

    .line 17
    invoke-virtual {v6}, Les/mg$r;->a()Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Les/h70;

    if-eqz v8, :cond_2

    .line 18
    invoke-virtual {v8}, Les/h70;->D()Les/h70$a;

    move-result-object v8

    .line 19
    iget v9, v8, Les/h70$a;->e:I

    .line 20
    iget v10, v8, Les/h70$a;->f:I

    .line 21
    iget-wide v11, v8, Les/h70$a;->c:J

    .line 22
    iget-object v13, v0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-boolean v13, v13, Lcom/estrongs/android/ui/dialog/o;->f:Z

    if-eqz v13, :cond_1

    int-to-long v13, v9

    move-object/from16 p4, v4

    .line 23
    iget-wide v3, v8, Les/h70$a;->h:J

    iget-wide v1, v8, Les/h70$a;->j:J

    add-long/2addr v3, v1

    iget-wide v1, v8, Les/h70$a;->l:J

    add-long/2addr v3, v1

    sub-long/2addr v13, v3

    long-to-int v9, v13

    .line 24
    iget-wide v1, v8, Les/h70$a;->g:J

    iget-wide v3, v8, Les/h70$a;->i:J

    add-long/2addr v1, v3

    iget-wide v3, v8, Les/h70$a;->k:J

    add-long/2addr v1, v3

    sub-long/2addr v11, v1

    goto :goto_1

    :cond_1
    move-object/from16 p4, v4

    .line 25
    :goto_1
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v1, v9}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string v2, " "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v3, v0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-object v3, v3, Lcom/estrongs/android/ui/dialog/o;->d:Ljava/lang/String;

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v3, ", "

    invoke-virtual {v1, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v10}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    iget-object v2, v0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-object v2, v2, Lcom/estrongs/android/ui/dialog/o;->e:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    .line 26
    new-instance v2, Ljava/lang/StringBuilder;

    invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {v2, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v3, " ("

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-static {v11, v12}, Lcom/estrongs/fs/util/f;->g(J)Ljava/lang/String;

    move-result-object v3

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v3, ")"

    invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v7

    goto :goto_2

    :cond_2
    move-object/from16 p4, v4

    .line 27
    iget-object v1, v0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-object v1, v1, Lcom/estrongs/android/ui/dialog/o;->a:Landroid/app/Activity;

    const v2, 0x7f11069a

    invoke-virtual {v1, v2}, Landroid/app/Activity;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 28
    :goto_2
    iget-object v2, v5, Lcom/estrongs/android/ui/dialog/o$h;->a:Landroid/widget/TextView;

    invoke-virtual {v2, v7}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 29
    iget-object v2, v5, Lcom/estrongs/android/ui/dialog/o$h;->b:Landroid/widget/TextView;

    invoke-virtual {v2, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 30
    iget-object v1, v0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-object v1, v1, Lcom/estrongs/android/ui/dialog/o;->b:Ljava/util/Set;

    iget-object v2, v6, Les/mg$r;->a:Ljava/lang/String;

    invoke-interface {v1, v2}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z

    move-result v1

    .line 31
    iget-object v2, v5, Lcom/estrongs/android/ui/dialog/o$h;->c:Landroid/widget/ImageView;

    if-eqz v1, :cond_3

    const v1, 0x7f08080d

    goto :goto_3

    :cond_3
    const v1, 0x7f080810

    :goto_3
    invoke-virtual {v2, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    move/from16 v1, p1

    .line 32
    iput v1, v5, Lcom/estrongs/android/ui/dialog/o$h;->e:I

    move/from16 v1, p2

    .line 33
    iput v1, v5, Lcom/estrongs/android/ui/dialog/o$h;->f:I

    .line 34
    iget-object v1, v5, Lcom/estrongs/android/ui/dialog/o$h;->c:Landroid/widget/ImageView;

    invoke-virtual {v1, v5}, Landroid/widget/ImageView;->setTag(Ljava/lang/Object;)V

    move-object/from16 v4, p4

    const v1, 0x7f09052b

    .line 35
    invoke-virtual {v4, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    if-eqz p3, :cond_4

    const/4 v2, 0x0

    goto :goto_4

    :cond_4
    const/16 v2, 0x8

    :goto_4
    invoke-virtual {v1, v2}, Landroid/view/View;->setVisibility(I)V

    return-object v4
.end method

.method public getChildrenCount(I)I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-object v0, v0, Lcom/estrongs/android/ui/dialog/o;->j:Ljava/util/ArrayList;

    invoke-virtual {v0, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/ui/dialog/o$f;

    .line 2
    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/o$f;->c:Ljava/util/ArrayList;

    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result p1

    return p1
.end method

.method public getGroup(I)Ljava/lang/Object;
    .locals 0

    const/4 p1, 0x0

    return-object p1
.end method

.method public getGroupCount()I
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-object v0, v0, Lcom/estrongs/android/ui/dialog/o;->j:Ljava/util/ArrayList;

    invoke-virtual {v0}, Ljava/util/ArrayList;->size()I

    move-result v0

    return v0
.end method

.method public getGroupId(I)J
    .locals 2

    const-wide/16 v0, 0x0

    return-wide v0
.end method

.method public getGroupView(IZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .locals 3

    if-nez p3, :cond_0

    .line 1
    iget-object p3, p0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-object p3, p3, Lcom/estrongs/android/ui/dialog/o;->a:Landroid/app/Activity;

    invoke-static {p3}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object p3

    const p4, 0x7f0c009e

    const/4 v0, 0x0

    invoke-virtual {p3, p4, v0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object p3

    .line 2
    new-instance p4, Landroid/widget/AbsListView$LayoutParams;

    const/4 v0, -0x1

    iget-object v1, p0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-object v1, v1, Lcom/estrongs/android/ui/dialog/o;->a:Landroid/app/Activity;

    const/high16 v2, 0x42580000    # 54.0f

    invoke-static {v1, v2}, Les/fy;->a(Landroid/content/Context;F)I

    move-result v1

    invoke-direct {p4, v0, v1}, Landroid/widget/AbsListView$LayoutParams;-><init>(II)V

    invoke-virtual {p3, p4}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V

    .line 3
    :cond_0
    iget-object p4, p0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-object p4, p4, Lcom/estrongs/android/ui/dialog/o;->j:Ljava/util/ArrayList;

    invoke-virtual {p4, p1}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object p1

    check-cast p1, Lcom/estrongs/android/ui/dialog/o$f;

    const p4, 0x7f090b57

    .line 4
    invoke-virtual {p3, p4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p4

    check-cast p4, Landroid/widget/TextView;

    const v0, 0x7f09052a

    .line 5
    invoke-virtual {p3, v0}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    .line 6
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/o$f;->a()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, " ("

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/o$f;->b()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    const-string v2, ")"

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p4, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 7
    invoke-static {}, Les/mg;->f()Les/mg;

    move-result-object p4

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/o$f;->b:Ljava/lang/String;

    invoke-virtual {p4, p1}, Les/mg;->a(Ljava/lang/String;)Ljava/lang/String;

    move-result-object p1

    const/4 p4, 0x0

    if-eqz p1, :cond_1

    .line 8
    new-instance v1, Ljava/io/File;

    invoke-direct {v1, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V

    .line 9
    invoke-virtual {v1}, Ljava/io/File;->exists()Z

    move-result p1

    if-eqz p1, :cond_1

    .line 10
    new-instance p1, Lcom/estrongs/fs/impl/local/d;

    invoke-direct {p1, v1}, Lcom/estrongs/fs/impl/local/d;-><init>(Ljava/io/File;)V

    .line 11
    invoke-interface {p1}, Lcom/estrongs/fs/g;->d()Ljava/lang/String;

    move-result-object v1

    invoke-static {v1, v0, p1}, Lcom/estrongs/android/icon/loader/c;->a(Ljava/lang/String;Landroid/widget/ImageView;Lcom/estrongs/fs/g;)V

    const/4 p1, 0x1

    goto :goto_0

    :cond_1
    const/4 p1, 0x0

    :goto_0
    if-nez p1, :cond_2

    .line 12
    iget-object p1, p0, Lcom/estrongs/android/ui/dialog/o$g;->a:Lcom/estrongs/android/ui/dialog/o;

    iget-object p1, p1, Lcom/estrongs/android/ui/dialog/o;->a:Landroid/app/Activity;

    invoke-virtual {p1}, Landroid/app/Activity;->getResources()Landroid/content/res/Resources;

    move-result-object p1

    const v1, 0x7f0803c8

    invoke-virtual {p1, v1}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;

    move-result-object p1

    invoke-virtual {v0, p1}, Landroid/widget/ImageView;->setImageDrawable(Landroid/graphics/drawable/Drawable;)V

    :cond_2
    const p1, 0x7f09054c

    .line 13
    invoke-virtual {p3, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    check-cast p1, Landroid/widget/ImageView;

    if-eqz p2, :cond_3

    const v0, 0x7f0805ce

    .line 14
    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    goto :goto_1

    :cond_3
    const v0, 0x7f080563

    .line 15
    invoke-virtual {p1, v0}, Landroid/widget/ImageView;->setImageResource(I)V

    :goto_1
    const p1, 0x7f09052b

    .line 16
    invoke-virtual {p3, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object p1

    if-eqz p2, :cond_4

    const/16 p4, 0x8

    :cond_4
    invoke-virtual {p1, p4}, Landroid/view/View;->setVisibility(I)V

    return-object p3
.end method

.method public hasStableIds()Z
    .locals 1

    const/4 v0, 0x0

    return v0
.end method

.method public isChildSelectable(II)Z
    .locals 0

    const/4 p1, 0x0

    return p1
.end method
